package com.itqianfeng.smartmeeting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itqianfeng.smartmeeting.entity.Booking;
import com.itqianfeng.smartmeeting.entity.dto.BookingDTO;
import com.itqianfeng.smartmeeting.entity.vo.MyBooking;

import java.util.List;

public interface BookingService extends IService<Booking> {
    List<MyBooking> getMyBooking(Integer userId);

    Integer isBooking(Integer roomId, String startTime, String endTime);

    Boolean saveBooking(BookingDTO bookingDTO);
}
